<?php
namespace Admin\Controller;
use Admin\Controller\BaseController;

class IndexController extends BaseController {

    public function index() {
        if(I('session.uid')) {
        	$this->display('Index/index');
        } else {
        	$this->redirect('Login/login');
        }
    }

}
